package by.gravity.pvh;

import org.holoeverywhere.app.Application;

import by.gravity.pvh.http.HttpClient;

public class PVHApplication extends Application {

	private HttpClient httpClient;

	@Override
	public void onCreate() {
		super.onCreate();
		httpClient = new HttpClient(getApplicationContext());

	}

	@Override
	public Object getSystemService(String name) {
		if (name.equals(HttpClient.HTTP_CLIENT)) {
			return httpClient;
		}
		return super.getSystemService(name);
	}

}
